package com.rt.cms.common;

/**
 * 常量定义
 *
 * @author cjbi
 */
public class Constants {

    /**
     * 当前用户
     */
    public static final String CURRENT_USER = "user";

    /**
     * 菜单根id
     */
    public static final Long MENU_ROOT_ID = 1L;

    /**
     * 菜单树
     */
    public static final String MENU_TREE = "menuTree";

    public static final String SHARP = "#";
    /**
     * 组织机构根id
     */
    public static final Long ORG_ROOT_ID = 0L;

    public static final String LOCKED = "锁定";
    public static final String UNLOCKED = "正常";
    //用户类型
    public static final String Leader = "1"; //档案组长
    public static final String Member = "0";  //档案组员
    public static final String Risk = "2";  //风控人员
    public static final String Systemuser = "3";  //系统管理员

    //操作状态
    public static final int Due_Diligence = 1; //待尽调
    public static final int Audit_Of_Department = 2;//待部门审核
    public static final int Audit_Of_Wind = 3; //待风控审核
    public static final int Wait_Online = 4; //待上线
    public static final int Loan_Management = 5;//贷后管理
    public static final int On_File = 6; //存档

    //操作类型
    public static final int Add = 1;//新增
    public static final int Modify = 2;//修改
    public static final int Agree_Of_Department = 3;//部门同意
    public static final int Refuse_Of_Department = 4;//部门拒绝
    public static final int Agree_Of_Wind = 5;//风控同意
    public static final int Refuse_Of_Wind = 6;//风控拒绝
    public static final int InFile = 7;  //存档
    public static final int OutFile = 8;//取消存档
    public static final int InDormancy = 9;  //休眠
    public static final int OutDormancy = 10;//取消休眠
    public static final int upLoadReport = 11;//上传尽调报告
    public static final int AgreeInDormancy = 12;  //休眠同意
    //public static final int AgreeOutDormancy = 13;//取消休眠同意
    public static final int RefuseInDormancy = 14;  //休眠拒绝
    //public static final int RefuseOutDormancy = 15;//取消休眠拒绝
    public static final int  UnscheduledReport=16;//上传不定期尽调报告

    public static final int CoreCompany = 1; //核心企业
    public static final int Company = 2;     //企业
    public static final int Person = 3;      //个人
    public static final int AssureCompany = 4; //担保企业
    public static final int AssurePerson = 5;  //担保个人

    public static final int Display = 1;
    public static final int unDisplay = 0;

    public static final int Defined = 1;
    public static final int UnDefined = 0;

    public static final int unDormancy = 1; //未休眠
    public static final int WaitDormancy = 2; //待休眠
    public static final int Dormancy = 3; //休眠
    //public static final int WaitUnDormancy = 4; //待取消休眠

    public static final String Sms_URL="http://p2pxin.rongtuojinrong.com/Rongtuoxinsoc/User/jiedaixitongduanxin";
    // 待尽调变为待部门审核,给B发短信
    public static final String Sms_DueDiligence2DepartmentAudit="您有待审核的企业档案资料，请登录CMS系统查看。";
    // B角通过，进入到待风控审核,给风控负责人发短信
    public static final String Sms_DepartmentAudit2RiskAudit="您有待风控审核的企业档案资料，请登录CMS系统查看。";
    // B角驳回A角通过的企业档案，给A发短信
    // 风控负责人驳回B角通过的档案，给B发短信：
    public static final String Sms_DepartmentOrRiskRefuse="您有管理的企业档案被上级驳回，请登录CMS系统查看。";
    // 风控审核通过，给A发短信
    public static final String Sms_RiskAgree_Head="您管理的";
    public static final String Sms_RiskAgree_End="档案已通过风控审核，进入待上线状态。";
    // 待休眠，给B发短信
    public static final String Sms_InDormancy="您有待审核的休眠户，请登录CMS系统查看。";
    // 休眠通过，给A发短信
    public static final String Sms_AgreeInDormancy="您的休眠户操作已通过审核，该档案已移交至“休眠户”请知晓。";
    // 休眠拒绝，给A发短信
    public static final String Sms_RefuseInDormancy="您的休眠户操作未通过审核，请登录CMS系统查看驳回原因。";

    // 测试环境
    //public static final String realUrl="/home/core/cms/com/testcompic/";
    public static final String realUrl="/home/core/cms/com/compic/";
    public static final String showUrl="page/cms/compic/";

    /**
     * 构造函数私有化，避免被实例化
     */
    private Constants() {
    }

}
